package com.hilihili.service;

import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletResponse;

/**
 * 静态资源接口类
 * @author machi
 * @date 2023/12/19
 */

public interface IStaticResourceService {
    /**
     * 获取视频
     *
     * @param url 视频url
     * @param response 响应
     */
    void getVideo(String userId, HttpServletResponse response);

    /**
     * 获取图片
     * @param imageUrl 图片url
     * @param response 响应
     */
    void getImage(String imageUrl, HttpServletResponse response);
}
